package com.cskaoyan.bean.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class AdminCouponUpdateBo {
    /**
     * addTime : 2022-09-07 20:26:44
     * discount : 15
     * timeType : 0
     * goodsValue : []
     * updateTime : 2022-09-07 20:26:44
     * type : 0
     * goodsType : 0
     * total : 99
     * min : 99
     * deleted : false
     * name : qeqwe
     * limit : 1
     * days : 7
     * daysType : 0
     * id : 27
     * tag : qwewqwqewqe
     * desc : qweqwe
     * status : 0
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date addTime;
    private BigDecimal discount;
    private Short timeType;
    private List<?> goodsValue = new ArrayList<>();

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
    private Short type;
    private Short goodsType;
    private Short total;
    private BigDecimal min;
    private boolean deleted;
    private String name;
    private Short limit;
    private Short days;
    private Short daysType;
    private int id;
    private String tag;
    private String desc;
    private Short status;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

}
